<%@page import="com.itwill.ecom.receiver.ReceiverServiceImpl"%>
<%@page import="org.springframework.web.context.support.WebApplicationContextUtils"%>
<%@page import="org.springframework.web.context.WebApplicationContext"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<%
	WebApplicationContext webContext = WebApplicationContextUtils.getWebApplicationContext(application);
	ReceiverServiceImpl receiverService=(ReceiverServiceImpl)webContext.getBean("receiverService");
	
	receiverService.deleteReceiver(5);
%>